package com.tonglin.springboot.mapper;

import com.tonglin.springboot.po.Book;
import com.tonglin.springboot.po.BookOrder;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BookMapper {

    public Book queryBookByname(String bookName);
    public int insert(Book book);
    public int delete(Book book);
    public int updateNumber(Book book);
    public int updateNumberJ(Book book);
    public List<String> selectName ();
    public List<Book> select();
    public List<Integer> selectId();

}
